//
//  TradeBuyView.h
//  BTCoin
//
//  Created by Robin on 29/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TradeControlModel.h"

@protocol TradeBuyViewDelegate <NSObject>

- (void)buyAction;
- (void)showTradeTypeAction;
- (void)showTradeTypeStyleAction;
@end

@interface TradeBuyView : UIView
@property (nonatomic,strong) TradeControlModel * model;

@property (nonatomic,weak) id<TradeBuyViewDelegate> delegate;
@property (nonatomic, strong) UITextField * priceTextField;
@property (nonatomic, strong) UITextField * numberTextField;

@property (nonatomic, strong) UILabel * regionLabel;
@property (nonatomic, strong) UILabel * regionStyle;        //委托类型

@property (nonatomic, strong) UILabel * typeLabel;      //

- (void)updateTypeView:(NSString *)type region:(NSString *)region;
@end

